<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>ccm: Ccm_v6_0</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ccm
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Ccm_v6_0</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_ccm___config.html">XCcm_Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_ccm.html">XCcm</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_ccm___coefs.html">XCcm_Coefs</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga44dd617379ea49c8b6032f57803e51a6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga44dd617379ea49c8b6032f57803e51a6">XCcm_Enable</a>(InstancePtr)</td></tr>
<tr class="separator:ga44dd617379ea49c8b6032f57803e51a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae34dac640b9c67038c4d059de0e05d86"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gae34dac640b9c67038c4d059de0e05d86">XCcm_Disable</a>(InstancePtr)</td></tr>
<tr class="separator:gae34dac640b9c67038c4d059de0e05d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga24c7db54b2b13e8ffb63bc3fd0260da4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga24c7db54b2b13e8ffb63bc3fd0260da4">XCcm_Start</a>&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga44dd617379ea49c8b6032f57803e51a6">XCcm_Enable</a></td></tr>
<tr class="separator:ga24c7db54b2b13e8ffb63bc3fd0260da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4510319aacbbd3599957848a2c9d1542"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga4510319aacbbd3599957848a2c9d1542">XCcm_Stop</a>&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#gae34dac640b9c67038c4d059de0e05d86">XCcm_Disable</a></td></tr>
<tr class="separator:ga4510319aacbbd3599957848a2c9d1542"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad5c437a6299fd7c287459f9d067671b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gaad5c437a6299fd7c287459f9d067671b">XCcm_RegUpdateEnable</a>(InstancePtr)</td></tr>
<tr class="separator:gaad5c437a6299fd7c287459f9d067671b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69cd1858570d3746f65e766ad9757ad2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga69cd1858570d3746f65e766ad9757ad2">XCcm_RegUpdateDisable</a>(InstancePtr)</td></tr>
<tr class="separator:ga69cd1858570d3746f65e766ad9757ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d78c69e8a0f58522666aa83dc819302"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga6d78c69e8a0f58522666aa83dc819302">XCcm_SyncReset</a>(InstancePtr)</td></tr>
<tr class="separator:ga6d78c69e8a0f58522666aa83dc819302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f34f75f603c5e5381d5613480273388"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga6f34f75f603c5e5381d5613480273388">XCcm_Reset</a>(InstancePtr)</td></tr>
<tr class="separator:ga6f34f75f603c5e5381d5613480273388"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0ac6ebb3f4c50599c12cc896ba89a62"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gae0ac6ebb3f4c50599c12cc896ba89a62">XCcm_IntrEnable</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:gae0ac6ebb3f4c50599c12cc896ba89a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74a96e15ef236c069779cc3fc99475f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga74a96e15ef236c069779cc3fc99475f1">XCcm_IntrDisable</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:ga74a96e15ef236c069779cc3fc99475f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad26becf7ddfc98a5b699854c33eb035e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gad26becf7ddfc98a5b699854c33eb035e">XCcm_StatusGetPending</a>(InstancePtr)</td></tr>
<tr class="separator:gad26becf7ddfc98a5b699854c33eb035e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae519d4699af5078a9429a9f3924d5b18"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gae519d4699af5078a9429a9f3924d5b18">XCcm_IntrGetPending</a>(InstancePtr)</td></tr>
<tr class="separator:gae519d4699af5078a9429a9f3924d5b18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5dfff1039f9dd0f102d1dfa9707d9c40"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga5dfff1039f9dd0f102d1dfa9707d9c40">XCcm_IntrClear</a>(InstancePtr,  IntrType)</td></tr>
<tr class="separator:ga5dfff1039f9dd0f102d1dfa9707d9c40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6b0c6cad5ad55d36600f805d862cfb0d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>(BaseAddress,  RegOffset)&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#gaabd9e9a5ac1a421c43ecc0d494bd1898">XCcm_In32</a>((BaseAddress) + (u32)(RegOffset))</td></tr>
<tr class="separator:ga6b0c6cad5ad55d36600f805d862cfb0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6891f64d4cf42385c911cef4ff8d8a76"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>(BaseAddress,  RegOffset,  Data)&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga185f492234991a08d4a61af32fd262bb">XCcm_Out32</a>((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td></tr>
<tr class="separator:ga6891f64d4cf42385c911cef4ff8d8a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga9818850162158c688371a4ccac5b5400"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga9818850162158c688371a4ccac5b5400">XCcm_CallBack</a>) (void *CallBackRef)</td></tr>
<tr class="separator:ga9818850162158c688371a4ccac5b5400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae78f88a3c832069dce17dae4f522430a"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gae78f88a3c832069dce17dae4f522430a">XCcm_ErrorCallBack</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="separator:gae78f88a3c832069dce17dae4f522430a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga143aa8c29bd2eaf103f17d6b76dbdc17"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga143aa8c29bd2eaf103f17d6b76dbdc17">XCcm_CfgInitialize</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, <a class="el" href="struct_x_ccm___config.html">XCcm_Config</a> *CfgPtr, u32 EffectiveAddr)</td></tr>
<tr class="separator:ga143aa8c29bd2eaf103f17d6b76dbdc17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga546464be1a867f0b4b9f53ad66492934"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga546464be1a867f0b4b9f53ad66492934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2a70f04c8f36653e03c1bd686bffa3c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga2a70f04c8f36653e03c1bd686bffa3c1">XCcm_EnableDbgByPass</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga2a70f04c8f36653e03c1bd686bffa3c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8eb8d5a2fdd146a9bc131b048297542"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gab8eb8d5a2fdd146a9bc131b048297542">XCcm_IsDbgByPassEnabled</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:gab8eb8d5a2fdd146a9bc131b048297542"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e03d09bb600f53118cafec64d928e0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga3e03d09bb600f53118cafec64d928e0a">XCcm_DisableDbgByPass</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga3e03d09bb600f53118cafec64d928e0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c3162630daeaf89ddb735ea239b0c95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga8c3162630daeaf89ddb735ea239b0c95">XCcm_EnableDbgTestPattern</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga8c3162630daeaf89ddb735ea239b0c95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69b1f82193d2228f2563d2f7c4cdb6f8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga69b1f82193d2228f2563d2f7c4cdb6f8">XCcm_IsDbgTestPatternEnabled</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga69b1f82193d2228f2563d2f7c4cdb6f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8361b47f63677cef55f44c1d48dc7d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gaf8361b47f63677cef55f44c1d48dc7d6">XCcm_DisableDbgTestPattern</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:gaf8361b47f63677cef55f44c1d48dc7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83ecf706f9ade5b0e93ae9090575cf50"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga83ecf706f9ade5b0e93ae9090575cf50">XCcm_GetVersion</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga83ecf706f9ade5b0e93ae9090575cf50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac56c13b67436c4c46a283613806335b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gaac56c13b67436c4c46a283613806335b">XCcm_GetDbgFrameCount</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:gaac56c13b67436c4c46a283613806335b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0327a7362e192e594dccb105d115e0aa"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga0327a7362e192e594dccb105d115e0aa">XCcm_GetDbgLineCount</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga0327a7362e192e594dccb105d115e0aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga113f2027e7a6980373b0abb408966fda"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga113f2027e7a6980373b0abb408966fda">XCcm_GetDbgPixelCount</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga113f2027e7a6980373b0abb408966fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabf2c81724c104e2bd08ff1dd3c3c9970"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, u16 HSize, u16 VSize)</td></tr>
<tr class="separator:gabf2c81724c104e2bd08ff1dd3c3c9970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b33698dab5bc2ecd53e018b278c8228"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, u16 *HSize, u16 *VSize)</td></tr>
<tr class="separator:ga8b33698dab5bc2ecd53e018b278c8228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bb87c37f2d3465e53a0043c93015f2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, <a class="el" href="struct_x_ccm___coefs.html">XCcm_Coefs</a> *CoefValues)</td></tr>
<tr class="separator:ga1bb87c37f2d3465e53a0043c93015f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c3191c4b436c133e9a313eb5564ab4c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, <a class="el" href="struct_x_ccm___coefs.html">XCcm_Coefs</a> *CoefValues)</td></tr>
<tr class="separator:ga1c3191c4b436c133e9a313eb5564ab4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac824f9b8427a9255d10412c403f99400"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, s32 ROffset, s32 GOffset, s32 BOffset)</td></tr>
<tr class="separator:gac824f9b8427a9255d10412c403f99400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad2f6868700e0ac1fbc0bb9927e0772fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, s32 *ROffset, s32 *GOffset, s32 *BOffset)</td></tr>
<tr class="separator:gad2f6868700e0ac1fbc0bb9927e0772fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga536cb130f1afac75c357fdba2738a713"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga536cb130f1afac75c357fdba2738a713">XCcm_SetClip</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, u32 Clip)</td></tr>
<tr class="separator:ga536cb130f1afac75c357fdba2738a713"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1b1241c01cdd2c15bdb4d02e5c92f8a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gae1b1241c01cdd2c15bdb4d02e5c92f8a">XCcm_GetClip</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:gae1b1241c01cdd2c15bdb4d02e5c92f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37a55012b238fd48bd4f25f937b85c6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga37a55012b238fd48bd4f25f937b85c6d">XCcm_SetClamp</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, u32 Clamp)</td></tr>
<tr class="separator:ga37a55012b238fd48bd4f25f937b85c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e86118b540b675b069095a41aec4cc7"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga3e86118b540b675b069095a41aec4cc7">XCcm_GetClamp</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:ga3e86118b540b675b069095a41aec4cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad9f993b319bb49dae94c27ebddf70476"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_ccm___config.html">XCcm_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gad9f993b319bb49dae94c27ebddf70476">XCcm_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="separator:gad9f993b319bb49dae94c27ebddf70476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf70e8e5ef3de9bb3c58fb1c0fd6136fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gaf70e8e5ef3de9bb3c58fb1c0fd6136fa">XCcm_SelfTest</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr)</td></tr>
<tr class="separator:gaf70e8e5ef3de9bb3c58fb1c0fd6136fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga03c6cda14c481d1b72742aa036e57339"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="separator:ga03c6cda14c481d1b72742aa036e57339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac10d6d33dad41db29c2d16cf7124191d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#gac10d6d33dad41db29c2d16cf7124191d">XCcm_SetCallBack</a> (<a class="el" href="struct_x_ccm.html">XCcm</a> *InstancePtr, u32 HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="separator:gac10d6d33dad41db29c2d16cf7124191d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Interrupt Enable and Status Registers Offsets</h2></td></tr>
<tr class="memitem:ga9ea93dcb8e06b17b5fb401b515b7625e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ccm__v6__0.html#ga9ea93dcb8e06b17b5fb401b515b7625e">XCCM_ISR_OFFSET</a>&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a></td></tr>
<tr class="separator:ga9ea93dcb8e06b17b5fb401b515b7625e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gaa53a022bb1cb27955f7657b777dd7999"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACT_SIZE_FIRST&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Active Size starting value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0a91a2e37931c2dabd69a72bc861209d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACT_SIZE_LAST&#160;&#160;&#160;7680</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Active Size ending value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1e220dda1fb0fcac533119f9aecd8868"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACTIVE_SIZE_OFFSET&#160;&#160;&#160;0x020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Active Size (V x H) offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize()</a>, <a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize()</a>, and <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="gab8019031c0ceb2bfb7aad4dd3737f879"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACTSIZE_NUM_LINE_MASK&#160;&#160;&#160;0x1FFF0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Number of Active lines per frame (vertical) mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize()</a>, and <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="gaae46b01515a3d7322e40e830dd8057e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACTSIZE_NUM_LINE_SHIFT&#160;&#160;&#160;16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Shift for number of lines. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize()</a>, <a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize()</a>, and <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="gafb50a98b4af92cde951dbcc385a89f6d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ACTSIZE_NUM_PIXEL_MASK&#160;&#160;&#160;0x00001FFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Number of Active pixels per scan line (horizontal) mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize()</a>, and <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="ga793008d1002013895246026313aa608b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_BOFFSET_OFFSET&#160;&#160;&#160;0x12C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Blue Offset offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset()</a>, and <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="gab3562ab10708065f6ee78a769279634d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLAMP_FIRST&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Clamp starting value. </p>

</div>
</div>
<a class="anchor" id="gaf944e9fe78742398a98d2373696a97cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLAMP_LAST&#160;&#160;&#160;255</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Clamp ending value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga37a55012b238fd48bd4f25f937b85c6d">XCcm_SetClamp()</a>.</p>

</div>
</div>
<a class="anchor" id="gacabc5eb60fd1a4f8abe6187ffa5d8c1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLAMP_MASK&#160;&#160;&#160;0x0000FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Clamp register mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e86118b540b675b069095a41aec4cc7">XCcm_GetClamp()</a>, and <a class="el" href="group__ccm__v6__0.html#ga37a55012b238fd48bd4f25f937b85c6d">XCcm_SetClamp()</a>.</p>

</div>
</div>
<a class="anchor" id="ga04bd18365c71ef3e41cf4cd6059686bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLAMP_OFFSET&#160;&#160;&#160;0x134</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Clamp Offset offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e86118b540b675b069095a41aec4cc7">XCcm_GetClamp()</a>, and <a class="el" href="group__ccm__v6__0.html#ga37a55012b238fd48bd4f25f937b85c6d">XCcm_SetClamp()</a>.</p>

</div>
</div>
<a class="anchor" id="gaade3f5c3f5c8c2017eb71d9e0b4f57d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLIP_FIRST&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Clip starting value. </p>

</div>
</div>
<a class="anchor" id="ga804187bf41abef218306a7f845ebada8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLIP_LAST&#160;&#160;&#160;255</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Clip ending value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga536cb130f1afac75c357fdba2738a713">XCcm_SetClip()</a>.</p>

</div>
</div>
<a class="anchor" id="ga25753d1166bbd0f30aee8de4fba22069"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLIP_MASK&#160;&#160;&#160;0x0000FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Clip register mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gae1b1241c01cdd2c15bdb4d02e5c92f8a">XCcm_GetClip()</a>, and <a class="el" href="group__ccm__v6__0.html#ga536cb130f1afac75c357fdba2738a713">XCcm_SetClip()</a>.</p>

</div>
</div>
<a class="anchor" id="gad21d764388d9e830321be18381ed6ed5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CLIP_OFFSET&#160;&#160;&#160;0x130</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Clip Offset offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gae1b1241c01cdd2c15bdb4d02e5c92f8a">XCcm_GetClip()</a>, and <a class="el" href="group__ccm__v6__0.html#ga536cb130f1afac75c357fdba2738a713">XCcm_SetClip()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3db88bc1864b60e80b21fe534d3d8569"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_DECI_MASK&#160;&#160;&#160;0x0001C000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Mask of Decimal part. </p>

</div>
</div>
<a class="anchor" id="ga1740bbd170767daae443a19ab4c833d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_FIRST&#160;&#160;&#160;-8.0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Coefficient starting value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6de672c15afb670ced9d6d0a7761a53b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_LAST&#160;&#160;&#160;8.0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Coefficient ending value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="gabe429221ee866e267f1504f937da77c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_MASK&#160;&#160;&#160;0x0003FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Matrix Coefficient mask. </p>

</div>
</div>
<a class="anchor" id="ga17b59c55128e9e6fe82a163cff9573f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_SHIFT&#160;&#160;&#160;14</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Coefficient shift. </p>

</div>
</div>
<a class="anchor" id="ga5d95c4dd88a3454b690ce9c0989731a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEF_SIGN_MASK&#160;&#160;&#160;0x20000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Mask for sign bit. </p>

</div>
</div>
<a class="anchor" id="ga82bd394764ee3a45ffff3073d01c265a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_COEFF_FRAC_MASK&#160;&#160;&#160;0x00003FFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Mask of Fractional part. </p>

</div>
</div>
<a class="anchor" id="ga64ca584588045e2c39cd9e757a5637bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CONTROL_OFFSET&#160;&#160;&#160;0x000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Control offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e03d09bb600f53118cafec64d928e0a">XCcm_DisableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#gaf8361b47f63677cef55f44c1d48dc7d6">XCcm_DisableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#ga2a70f04c8f36653e03c1bd686bffa3c1">XCcm_EnableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#ga8c3162630daeaf89ddb735ea239b0c95">XCcm_EnableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#gab8eb8d5a2fdd146a9bc131b048297542">XCcm_IsDbgByPassEnabled()</a>, and <a class="el" href="group__ccm__v6__0.html#ga69b1f82193d2228f2563d2f7c4cdb6f8">XCcm_IsDbgTestPatternEnabled()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa4104d70736060d0580f08a66191333a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_AUTORESET_MASK&#160;&#160;&#160;0x40000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Software Auto Reset mask. </p>

</div>
</div>
<a class="anchor" id="ga6e3fa83444e8c0ac5a279b42212fcda1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_BPE_MASK&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Bypass Enable mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e03d09bb600f53118cafec64d928e0a">XCcm_DisableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#ga2a70f04c8f36653e03c1bd686bffa3c1">XCcm_EnableDbgByPass()</a>, and <a class="el" href="group__ccm__v6__0.html#gab8eb8d5a2fdd146a9bc131b048297542">XCcm_IsDbgByPassEnabled()</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e0c60bee5a7c3b445101bf5afac190e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_RESET_MASK&#160;&#160;&#160;0x80000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Software Reset mask. </p>

</div>
</div>
<a class="anchor" id="gad085d38be602872e68d1247df53c804a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_RUE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Register Update Enable mask. </p>

</div>
</div>
<a class="anchor" id="ga63b70b6df2fc85fe35d4e99112277214"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_SW_EN_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Enable mask. </p>

</div>
</div>
<a class="anchor" id="gab7b316e5dfafda8cde003d9a83491a61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_CTL_TPE_MASK&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Test Pattern Enable mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gaf8361b47f63677cef55f44c1d48dc7d6">XCcm_DisableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#ga8c3162630daeaf89ddb735ea239b0c95">XCcm_EnableDbgTestPattern()</a>, and <a class="el" href="group__ccm__v6__0.html#ga69b1f82193d2228f2563d2f7c4cdb6f8">XCcm_IsDbgTestPatternEnabled()</a>.</p>

</div>
</div>
<a class="anchor" id="gae34dac640b9c67038c4d059de0e05d86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Disable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>))) &amp; (~(<a class="code" href="group__ccm__v6__0.html#ga63b70b6df2fc85fe35d4e99112277214">XCCM_CTL_SW_EN_MASK</a>))))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga63b70b6df2fc85fe35d4e99112277214"><div class="ttname"><a href="group__ccm__v6__0.html#ga63b70b6df2fc85fe35d4e99112277214">XCCM_CTL_SW_EN_MASK</a></div><div class="ttdeci">#define XCCM_CTL_SW_EN_MASK</div><div class="ttdoc">Enable mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:103</div></div>
</div><!-- fragment -->
<p>This macro disables the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#gae34dac640b9c67038c4d059de0e05d86" title="This macro disables the CCM core. ">XCcm_Disable(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga44dd617379ea49c8b6032f57803e51a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Enable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>))) | (<a class="code" href="group__ccm__v6__0.html#ga63b70b6df2fc85fe35d4e99112277214">XCCM_CTL_SW_EN_MASK</a>)))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga63b70b6df2fc85fe35d4e99112277214"><div class="ttname"><a href="group__ccm__v6__0.html#ga63b70b6df2fc85fe35d4e99112277214">XCCM_CTL_SW_EN_MASK</a></div><div class="ttdeci">#define XCCM_CTL_SW_EN_MASK</div><div class="ttdoc">Enable mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:103</div></div>
</div><!-- fragment -->
<p>This macro enables the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga44dd617379ea49c8b6032f57803e51a6" title="This macro enables the CCM core. ">XCcm_Enable(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga185a7a279469b1b05a67e0c0b60c7f44"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ERR_EOL_EARLY_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>End of Line Early mask. </p>

</div>
</div>
<a class="anchor" id="gae3138ea876a82321bb25d6261bcc72cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ERR_EOL_LATE_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>End of Line Late mask. </p>

</div>
</div>
<a class="anchor" id="ga319f8e91aa98fbd92784a52f14d1bd69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ERR_SOF_EARLY_MASK&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Start of Frame Early mask. </p>

</div>
</div>
<a class="anchor" id="ga194684f5393d734bed4b6cbc1d7254f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ERR_SOF_LATE_MASK&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Start of Frame Late mask. </p>

</div>
</div>
<a class="anchor" id="ga3331cd0e7fc8d0273ef493037d4c1ff1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ERROR_OFFSET&#160;&#160;&#160;0x008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Error offset. </p>

</div>
</div>
<a class="anchor" id="ga4dbb46de9ae5943743e207141668b3df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_GOFFSET_OFFSET&#160;&#160;&#160;0x128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Green Offset offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset()</a>, and <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="gab6e5621d054e87e169370a01cbe1aae0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<a class="anchor" id="gaacce9c851584230a7d743046dab89191"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_HW_H_</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Prevent circular inclusions by using protection macros. </p>

</div>
</div>
<a class="anchor" id="ga88694802b0566c17202060b8e3a36e71"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IER_OFFSET&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Interrupt enable Offset. </p>

</div>
</div>
<a class="anchor" id="gaabd9e9a5ac1a421c43ecc0d494bd1898"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_In32&#160;&#160;&#160;Xil_In32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Input operation. </p>

</div>
</div>
<a class="anchor" id="ga5dfff1039f9dd0f102d1dfa9707d9c40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_IntrClear</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a>), ((IntrType) &amp; (<a class="code" href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a>)))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_gadbf717e734df9bd371b1681df3808068"><div class="ttname"><a href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCCM_IXR_ALLINTR_MASK</div><div class="ttdoc">Interrupt all error mask (ORing of all interrupt mask) </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:124</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga04be2e2e5700af4a8c46747813c8d2e0"><div class="ttname"><a href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a></div><div class="ttdeci">#define XCCM_STATUS_OFFSET</div><div class="ttdoc">Status offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:75</div></div>
</div><!-- fragment -->
<p>This macro clears/acknowledges pending interrupts of the CCM core in the Status register. </p>
<p>Bit positions to 1 will be cleared.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the pending interrupts to clear/acknowledge. Use OR'ing of XCCM_IXR_*_MASK constants defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga5dfff1039f9dd0f102d1dfa9707d9c40" title="This macro clears/acknowledges pending interrupts of the CCM core in the Status register. ">XCcm_IntrClear(XCcm *InstancePtr, u32 IntrType)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga74a96e15ef236c069779cc3fc99475f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_IntrDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a>))) &amp; ((~(IntrType)) &amp; \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a>))))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_gadbf717e734df9bd371b1681df3808068"><div class="ttname"><a href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCCM_IXR_ALLINTR_MASK</div><div class="ttdoc">Interrupt all error mask (ORing of all interrupt mask) </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:124</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga74964a30a5783d967b5efb378414fcb3"><div class="ttname"><a href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCCM_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ Enable offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:77</div></div>
</div><!-- fragment -->
<p>This macro disables individual interrupts of the CCM core by updating the IRQ_ENABLE register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the type of the interrupts to disable. Use OR'ing of XCCM_IXR_*_MASK constants defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Any other interrupt not covered by parameter IntrType, if enabled before this macro is called, will remain enabled. C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga74a96e15ef236c069779cc3fc99475f1" title="This macro disables individual interrupts of the CCM core by updating the IRQ_ENABLE register...">XCcm_IntrDisable(XCcm *InstancePtr, u32 IntrType)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gae0ac6ebb3f4c50599c12cc896ba89a62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_IntrEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">IntrType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a>), \</div>
<div class="line">                (((IntrType) &amp; (<a class="code" href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a>)) | \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a>)))))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_gadbf717e734df9bd371b1681df3808068"><div class="ttname"><a href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCCM_IXR_ALLINTR_MASK</div><div class="ttdoc">Interrupt all error mask (ORing of all interrupt mask) </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:124</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga74964a30a5783d967b5efb378414fcb3"><div class="ttname"><a href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCCM_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ Enable offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:77</div></div>
</div><!-- fragment -->
<p>This macro enables individual interrupts of the CCM core by updating the IRQ_ENABLE register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on. </td></tr>
    <tr><td class="paramname">IntrType</td><td>is the type of the interrupts to enable. Use OR'ing of XCCM_IXR_*_MASK constants defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a> to create this parameter value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The existing enabled interrupt(s) will remain enabled. C-style signature: void <a class="el" href="group__ccm__v6__0.html#gae0ac6ebb3f4c50599c12cc896ba89a62" title="This macro enables individual interrupts of the CCM core by updating the IRQ_ENABLE register...">XCcm_IntrEnable(XCcm *InstancePtr, u32 IntrType)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="gae519d4699af5078a9429a9f3924d5b18"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_IntrGetPending</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a>)) &amp; \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a>))) &amp; (<a class="code" href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a>))</div>
<div class="ttc" id="group__ccm__v6__0_html_gadbf717e734df9bd371b1681df3808068"><div class="ttname"><a href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCCM_IXR_ALLINTR_MASK</div><div class="ttdoc">Interrupt all error mask (ORing of all interrupt mask) </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:124</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga04be2e2e5700af4a8c46747813c8d2e0"><div class="ttname"><a href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a></div><div class="ttdeci">#define XCCM_STATUS_OFFSET</div><div class="ttdoc">Status offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:75</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga74964a30a5783d967b5efb378414fcb3"><div class="ttname"><a href="group__ccm__v6__0.html#ga74964a30a5783d967b5efb378414fcb3">XCCM_IRQ_EN_OFFSET</a></div><div class="ttdeci">#define XCCM_IRQ_EN_OFFSET</div><div class="ttdoc">IRQ Enable offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:77</div></div>
</div><!-- fragment -->
<p>This macro returns the pending interrupts of the CCM core for the interrupts that have been enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pending interrupts of the CCM. Use XCCM_IXR_*_MASK constants defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a> to interpret this value. The returned value is a logical AND of the contents of the STATUS Register and the IRQ_ENABLE Register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__ccm__v6__0.html#gae519d4699af5078a9429a9f3924d5b18" title="This macro returns the pending interrupts of the CCM core for the interrupts that have been enabled...">XCcm_IntrGetPending(XCcm *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga74964a30a5783d967b5efb378414fcb3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IRQ_EN_OFFSET&#160;&#160;&#160;0x00C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>IRQ Enable offset. </p>

</div>
</div>
<a class="anchor" id="ga9ea93dcb8e06b17b5fb401b515b7625e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ISR_OFFSET&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Interrupt status register generates a interrupt if the corresponding bits of interrupt enable register bits are set. </p>
<p>Interrupt status offset </p>

</div>
</div>
<a class="anchor" id="gadbf717e734df9bd371b1681df3808068"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IXR_ALLINTR_MASK&#160;&#160;&#160;0x00010003</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Interrupt all error mask (ORing of all interrupt mask) </p>

</div>
</div>
<a class="anchor" id="gaf301ed8a9e465dd88c804e08a253e9f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IXR_EOF_MASK&#160;&#160;&#160;0x00000002</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>End-Of-Frame mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga99f951099b028c60f8366fef2f75cf7b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IXR_PROCS_STARTED_MASK&#160;&#160;&#160;0x00000001</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Process Started mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga997737dbc605c48a28755120bf7afc1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_IXR_SE_MASK&#160;&#160;&#160;0x00010000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Slave Error mask. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga03c6cda14c481d1b72742aa036e57339">XCcm_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="ga482a4dedd008d36cac6879d10c661d76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K11_OFFSET&#160;&#160;&#160;0x100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K11 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga7ec9253bf711065f1cdd42b03231de50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K12_OFFSET&#160;&#160;&#160;0x104</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K12 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga79eaeed022f1d43f12d4dc736bd05fde"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K13_OFFSET&#160;&#160;&#160;0x108</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K13 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="gabfee120b04af618430afcd34ec54804b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K21_OFFSET&#160;&#160;&#160;0x10C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K21 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf149c351eb82e046ba468c058a2b97a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K22_OFFSET&#160;&#160;&#160;0x110</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K22 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="gaab13792945fde0c967e9810112dd6625"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K23_OFFSET&#160;&#160;&#160;0x114</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K23 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8b909510d266f4a09fb39f4e2916628e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K31_OFFSET&#160;&#160;&#160;0x118</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K31 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga60745869dd11b997d8dc8d4b15b2798d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K32_OFFSET&#160;&#160;&#160;0x11C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K32 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9e0d148e2b11d255ac30d017fe296c53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_K33_OFFSET&#160;&#160;&#160;0x120</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>K33 Coefficient offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, and <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1ffe4e4a5d66647c452f91c5d08ad50f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_MAX_VALUE&#160;&#160;&#160;0xFFFFFFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>32 bit maximum value </p>

</div>
</div>
<a class="anchor" id="gaf43e08e4b2d196e8eb1504668b98c519"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_OFFSET_FIRST&#160;&#160;&#160;0xFFFFFF00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Offset starting value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="gaa22b944144cb2e27613016b4bb39b925"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_OFFSET_LAST&#160;&#160;&#160;255</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Offset ending value. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1ed8145cd2846348516884e0d8aea2a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_OFFSET_MASK&#160;&#160;&#160;0x0001FFFF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Offset mask for Red, Green Blue Offset registers. </p>

</div>
</div>
<a class="anchor" id="gad9e7b7ca01432c963a73f006a4fa72cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_OFFSET_SIGN_SHIFT&#160;&#160;&#160;15</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Shift for signed bit. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="ga185f492234991a08d4a61af32fd262bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Out32&#160;&#160;&#160;Xil_Out32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Output operation. </p>

</div>
</div>
<a class="anchor" id="ga6b0c6cad5ad55d36600f805d862cfb0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#gaabd9e9a5ac1a421c43ecc0d494bd1898">XCcm_In32</a>((BaseAddress) + (u32)(RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>This macro reads the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx base address of the CCM core. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d" title="This macro reads the given register. ">XCcm_ReadReg(u32 BaseAddress, u32 RegOffset)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e03d09bb600f53118cafec64d928e0a">XCcm_DisableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#gaf8361b47f63677cef55f44c1d48dc7d6">XCcm_DisableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#ga2a70f04c8f36653e03c1bd686bffa3c1">XCcm_EnableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#ga8c3162630daeaf89ddb735ea239b0c95">XCcm_EnableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#ga8b33698dab5bc2ecd53e018b278c8228">XCcm_GetActiveSize()</a>, <a class="el" href="group__ccm__v6__0.html#ga3e86118b540b675b069095a41aec4cc7">XCcm_GetClamp()</a>, <a class="el" href="group__ccm__v6__0.html#gae1b1241c01cdd2c15bdb4d02e5c92f8a">XCcm_GetClip()</a>, <a class="el" href="group__ccm__v6__0.html#ga1c3191c4b436c133e9a313eb5564ab4c">XCcm_GetCoefMatrix()</a>, <a class="el" href="group__ccm__v6__0.html#gaac56c13b67436c4c46a283613806335b">XCcm_GetDbgFrameCount()</a>, <a class="el" href="group__ccm__v6__0.html#ga0327a7362e192e594dccb105d115e0aa">XCcm_GetDbgLineCount()</a>, <a class="el" href="group__ccm__v6__0.html#ga113f2027e7a6980373b0abb408966fda">XCcm_GetDbgPixelCount()</a>, <a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset()</a>, <a class="el" href="group__ccm__v6__0.html#ga83ecf706f9ade5b0e93ae9090575cf50">XCcm_GetVersion()</a>, <a class="el" href="group__ccm__v6__0.html#gab8eb8d5a2fdd146a9bc131b048297542">XCcm_IsDbgByPassEnabled()</a>, <a class="el" href="group__ccm__v6__0.html#ga69b1f82193d2228f2563d2f7c4cdb6f8">XCcm_IsDbgTestPatternEnabled()</a>, and <a class="el" href="group__ccm__v6__0.html#gaf70e8e5ef3de9bb3c58fb1c0fd6136fa">XCcm_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga69cd1858570d3746f65e766ad9757ad2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_RegUpdateDisable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>))) &amp; (~(<a class="code" href="group__ccm__v6__0.html#gad085d38be602872e68d1247df53c804a">XCCM_CTL_RUE_MASK</a>))))</div>
<div class="ttc" id="group__ccm__v6__0_html_gad085d38be602872e68d1247df53c804a"><div class="ttname"><a href="group__ccm__v6__0.html#gad085d38be602872e68d1247df53c804a">XCCM_CTL_RUE_MASK</a></div><div class="ttdeci">#define XCCM_CTL_RUE_MASK</div><div class="ttdoc">Register Update Enable mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:104</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
</div><!-- fragment -->
<p>This macro prevents the CCM core instance from committing recent changes made so far by the software. </p>
<p>When disabled, changes to other configuration registers are stored, but do not effect the behavior of the core.</p>
<p>This macro only works when the CCM core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga69cd1858570d3746f65e766ad9757ad2" title="This macro prevents the CCM core instance from committing recent changes made so far by the software...">XCcm_RegUpdateDisable(XCcm *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="gaad5c437a6299fd7c287459f9d067671b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_RegUpdateEnable</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                ((<a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>))) | (<a class="code" href="group__ccm__v6__0.html#gad085d38be602872e68d1247df53c804a">XCCM_CTL_RUE_MASK</a>)))</div>
<div class="ttc" id="group__ccm__v6__0_html_gad085d38be602872e68d1247df53c804a"><div class="ttname"><a href="group__ccm__v6__0.html#gad085d38be602872e68d1247df53c804a">XCCM_CTL_RUE_MASK</a></div><div class="ttdeci">#define XCCM_CTL_RUE_MASK</div><div class="ttdoc">Register Update Enable mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:104</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
</div><!-- fragment -->
<p>This macro commits all the register value changes made so far by the software to the CCM core instance. </p>
<p>This macro only works when the CCM core is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#gaad5c437a6299fd7c287459f9d067671b" title="This macro commits all the register value changes made so far by the software to the CCM core instanc...">XCcm_RegUpdateEnable(XCcm *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6f34f75f603c5e5381d5613480273388"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Reset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                                (<a class="code" href="group__ccm__v6__0.html#ga3e0c60bee5a7c3b445101bf5afac190e">XCCM_CTL_RESET_MASK</a>))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga3e0c60bee5a7c3b445101bf5afac190e"><div class="ttname"><a href="group__ccm__v6__0.html#ga3e0c60bee5a7c3b445101bf5afac190e">XCCM_CTL_RESET_MASK</a></div><div class="ttdeci">#define XCCM_CTL_RESET_MASK</div><div class="ttdoc">Software Reset mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:114</div></div>
</div><!-- fragment -->
<p>This macro resets a CCM core. </p>
<p>This reset effects the core immediately and may cause image tearing.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga6f34f75f603c5e5381d5613480273388" title="This macro resets a CCM core. ">XCcm_Reset(XCcm *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga143aa8c29bd2eaf103f17d6b76dbdc17">XCcm_CfgInitialize()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8b6372126e417ea6bcce2d96816ff915"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_ROFFSET_OFFSET&#160;&#160;&#160;0x124</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Red Offset offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gad2f6868700e0ac1fbc0bb9927e0772fa">XCcm_GetRgbOffset()</a>, and <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>.</p>

</div>
</div>
<a class="anchor" id="ga31563a16f98c49beba4faf31776f71a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_SIGN_MUL&#160;&#160;&#160;-1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Macro for sign multiplication. </p>

</div>
</div>
<a class="anchor" id="ga24c7db54b2b13e8ffb63bc3fd0260da4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Start&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga44dd617379ea49c8b6032f57803e51a6">XCcm_Enable</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>This macro enables/starts the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga24c7db54b2b13e8ffb63bc3fd0260da4" title="This macro enables/starts the CCM core. ">XCcm_Start(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga04be2e2e5700af4a8c46747813c8d2e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_STATUS_OFFSET&#160;&#160;&#160;0x004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Status offset. </p>

</div>
</div>
<a class="anchor" id="gad26becf7ddfc98a5b699854c33eb035e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_StatusGetPending</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                (<a class="code" href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a>)) &amp; (<a class="code" href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a>)</div>
<div class="ttc" id="group__ccm__v6__0_html_gadbf717e734df9bd371b1681df3808068"><div class="ttname"><a href="group__ccm__v6__0.html#gadbf717e734df9bd371b1681df3808068">XCCM_IXR_ALLINTR_MASK</a></div><div class="ttdeci">#define XCCM_IXR_ALLINTR_MASK</div><div class="ttdoc">Interrupt all error mask (ORing of all interrupt mask) </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:124</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga04be2e2e5700af4a8c46747813c8d2e0"><div class="ttname"><a href="group__ccm__v6__0.html#ga04be2e2e5700af4a8c46747813c8d2e0">XCCM_STATUS_OFFSET</a></div><div class="ttdeci">#define XCCM_STATUS_OFFSET</div><div class="ttdoc">Status offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:75</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga6b0c6cad5ad55d36600f805d862cfb0d"><div class="ttname"><a href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a></div><div class="ttdeci">#define XCcm_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">This macro reads the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:281</div></div>
</div><!-- fragment -->
<p>This macro returns the pending interrupt status of the CCM core by reading from Status register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pending interrupts of the CCM. Use XCCM_IXR_*_MASK constants defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a> to interpret this value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__ccm__v6__0.html#gad26becf7ddfc98a5b699854c33eb035e" title="This macro returns the pending interrupt status of the CCM core by reading from Status register...">XCcm_StatusGetPending(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga4510319aacbbd3599957848a2c9d1542"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_Stop&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#gae34dac640b9c67038c4d059de0e05d86">XCcm_Disable</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>This macro disables/stops the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga4510319aacbbd3599957848a2c9d1542" title="This macro disables/stops the CCM core. ">XCcm_Stop(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga6d78c69e8a0f58522666aa83dc819302"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_SyncReset</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress, \</div>
<div class="line">                                        (<a class="code" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>), \</div>
<div class="line">                (<a class="code" href="group__ccm__v6__0.html#gaa4104d70736060d0580f08a66191333a">XCCM_CTL_AUTORESET_MASK</a>))</div>
<div class="ttc" id="group__ccm__v6__0_html_ga6891f64d4cf42385c911cef4ff8d8a76"><div class="ttname"><a href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a></div><div class="ttdeci">#define XCcm_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">This macro writes the given register. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:299</div></div>
<div class="ttc" id="group__ccm__v6__0_html_ga64ca584588045e2c39cd9e757a5637bf"><div class="ttname"><a href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a></div><div class="ttdeci">#define XCCM_CONTROL_OFFSET</div><div class="ttdoc">Control offset. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:74</div></div>
<div class="ttc" id="group__ccm__v6__0_html_gaa4104d70736060d0580f08a66191333a"><div class="ttname"><a href="group__ccm__v6__0.html#gaa4104d70736060d0580f08a66191333a">XCCM_CTL_AUTORESET_MASK</a></div><div class="ttdeci">#define XCCM_CTL_AUTORESET_MASK</div><div class="ttdoc">Software Auto Reset mask. </div><div class="ttdef"><b>Definition:</b> xccm_hw.h:111</div></div>
</div><!-- fragment -->
<p>This macro resets a CCM core at the end of the frame being processed. </p>
<p>It enables core automatically synchronizes to the SOF of the core to prevent image tearing. This macro is differ from <a class="el" href="group__ccm__v6__0.html#ga6f34f75f603c5e5381d5613480273388" title="This macro resets a CCM core. ">XCcm_Reset()</a>.</p>
<p>On the next rising-edge of SOF following a call to XCcm_SyncReset, all of the core's configuration registers and outputs will be reset, then the reset flag will be immediately released, allowing the core to immediately resume default operation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga6d78c69e8a0f58522666aa83dc819302" title="This macro resets a CCM core at the end of the frame being processed. ">XCcm_SyncReset(XCcm *InstancePtr)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ga29e9fc30cc582806959d5c6b154ecb5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_SYSDEBUG0_OFFSET&#160;&#160;&#160;0x014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>System Debug 0 offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#gaac56c13b67436c4c46a283613806335b">XCcm_GetDbgFrameCount()</a>.</p>

</div>
</div>
<a class="anchor" id="ga617fbded77b5f23be19bf37325e35be2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_SYSDEBUG1_OFFSET&#160;&#160;&#160;0x018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>System Debug 1 offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga0327a7362e192e594dccb105d115e0aa">XCcm_GetDbgLineCount()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4dc056cef1da23d319d2c03cdc198af8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_SYSDEBUG2_OFFSET&#160;&#160;&#160;0x01C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>System Debug 2 offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga113f2027e7a6980373b0abb408966fda">XCcm_GetDbgPixelCount()</a>.</p>

</div>
</div>
<a class="anchor" id="ga1cdfadf254f5196cc1cb732dd6ac509b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_INTERNAL_SHIFT&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Internal shift. </p>

</div>
</div>
<a class="anchor" id="ga01d6b0bb4d8fd47d4d87de8f35cfe494"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_MAJOR_MASK&#160;&#160;&#160;0xFF000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Major mask. </p>

</div>
</div>
<a class="anchor" id="ga9bb8894c8870fadd89ff59d0e4d26f73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_MAJOR_SHIFT&#160;&#160;&#160;0x00000018</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Major shift. </p>

</div>
</div>
<a class="anchor" id="gadb2f83a76296d5e711f60673e45ee92a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_MINOR_MASK&#160;&#160;&#160;0x00FF0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Minor mask. </p>

</div>
</div>
<a class="anchor" id="ga7343ab5cacdfad017deb96c82ac8bc2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_MINOR_SHIFT&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Minor shift. </p>

</div>
</div>
<a class="anchor" id="gaafa16a2a1543324a977ed85c024ca288"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_PID_MASK&#160;&#160;&#160;0x00000F00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Patch ID mask. </p>

</div>
</div>
<a class="anchor" id="ga04e65ec62075df73861ce19c4981faad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_REV_MASK&#160;&#160;&#160;0x0000F000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Revision mask. </p>

</div>
</div>
<a class="anchor" id="ga6c7592b7e7171c8a4cf1322bd10ea9fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_REV_NUM_MASK&#160;&#160;&#160;0x000000FF</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Revision Number mask. </p>

</div>
</div>
<a class="anchor" id="gac4cf68239d394145725c45dd146d5f5b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VER_REV_SHIFT&#160;&#160;&#160;0x0000000C</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version Revision shift. </p>

</div>
</div>
<a class="anchor" id="gac396781716aa631709f037ca31a42c86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCCM_VERSION_OFFSET&#160;&#160;&#160;0x010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>Version offset. </p>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga83ecf706f9ade5b0e93ae9090575cf50">XCcm_GetVersion()</a>, and <a class="el" href="group__ccm__v6__0.html#gaf70e8e5ef3de9bb3c58fb1c0fd6136fa">XCcm_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga6891f64d4cf42385c911cef4ff8d8a76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XCcm_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__ccm__v6__0.html#ga185f492234991a08d4a61af32fd262bb">XCcm_Out32</a>((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>&gt;</code></p>

<p>This macro writes the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the Xilinx base address of the CCM core. </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset of the register. </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76" title="This macro writes the given register. ">XCcm_WriteReg(u32 BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__ccm__v6__0.html#ga3e03d09bb600f53118cafec64d928e0a">XCcm_DisableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#gaf8361b47f63677cef55f44c1d48dc7d6">XCcm_DisableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#ga2a70f04c8f36653e03c1bd686bffa3c1">XCcm_EnableDbgByPass()</a>, <a class="el" href="group__ccm__v6__0.html#ga8c3162630daeaf89ddb735ea239b0c95">XCcm_EnableDbgTestPattern()</a>, <a class="el" href="group__ccm__v6__0.html#gabf2c81724c104e2bd08ff1dd3c3c9970">XCcm_SetActiveSize()</a>, <a class="el" href="group__ccm__v6__0.html#ga37a55012b238fd48bd4f25f937b85c6d">XCcm_SetClamp()</a>, <a class="el" href="group__ccm__v6__0.html#ga536cb130f1afac75c357fdba2738a713">XCcm_SetClip()</a>, <a class="el" href="group__ccm__v6__0.html#ga1bb87c37f2d3465e53a0043c93015f2a">XCcm_SetCoefMatrix()</a>, <a class="el" href="group__ccm__v6__0.html#gac824f9b8427a9255d10412c403f99400">XCcm_SetRgbOffset()</a>, and <a class="el" href="group__ccm__v6__0.html#ga546464be1a867f0b4b9f53ad66492934">XCcm_Setup()</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga9818850162158c688371a4ccac5b5400"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCcm_CallBack) (void *CallBackRef)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Callback type for all interrupts except error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae78f88a3c832069dce17dae4f522430a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XCcm_ErrorCallBack) (void *CallBackRef, u32 ErrorMask)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>Callback type for Error interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallBackRef</td><td>is a callback reference passed in by the upper layer when setting the callback functions, and passed back to the upper layer when the callback is invoked. </td></tr>
    <tr><td class="paramname">ErrorMask</td><td>is a bit mask indicating the cause of the error. Its value equals 'OR'ing one or more XCCM_IXR_*_MASK values defined in <a class="el" href="xccm__hw_8h.html">xccm_hw.h</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga06fc87d81c62e9abb8790b6e5713c55b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>These constants specify different types of handler and used to differentiate interrupt requests from core. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55bab6935a9446b873400c4c84e5ce152a96"></a>XCCM_HANDLER_PROCSTART&#160;</td><td class="fielddoc">
<p>A processing start event interrupt type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55baa25a3e90c8d6c1938222e4cf7f1b42a9"></a>XCCM_HANDLER_FRAMEDONE&#160;</td><td class="fielddoc">
<p>A frame done event interrupt type. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="gga06fc87d81c62e9abb8790b6e5713c55bad9c3cae466b8d2ad28aeb203160a98cb"></a>XCCM_HANDLER_ERROR&#160;</td><td class="fielddoc">
<p>An error condition interrupt type. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ga143aa8c29bd2eaf103f17d6b76dbdc17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCcm_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_ccm___config.html">XCcm_Config</a> *&#160;</td>
          <td class="paramname"><em>CfgPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function initializes an CCM core. </p>
<p>This function must be called prior to using an CCM core. Initialization of an CCM includes setting up the instance data and ensuring the hardware is in a quiescent state.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance. </td></tr>
    <tr><td class="paramname">CfgPtr</td><td>is a reference to a structure containing information about a specific <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory address space. The caller is responsible for keeping the address mapping from EffectiveAddr to the device physical base address unchanged once this function is invoked. Unexpected errors may occur if the address mapping changes after this function is called. If address translation is not used, pass in the physical address instead.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>- XST_SUCCESS if initialization was successful.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm.html#a9dfdd9962b31eeedba403c8a77b345fb">XCcm::ErrCallBack</a>, <a class="el" href="struct_x_ccm.html#a2bef74ca00897cc8839296a532685736">XCcm::FrameDoneCallBack</a>, <a class="el" href="struct_x_ccm.html#a73380f11f8acb9962923e2cad8bf4fbd">XCcm::IsReady</a>, <a class="el" href="struct_x_ccm.html#a88bace29d77ddfdb651db8d9337a214e">XCcm::ProcStartCallBack</a>, and <a class="el" href="group__ccm__v6__0.html#ga6f34f75f603c5e5381d5613480273388">XCcm_Reset</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e03d09bb600f53118cafec64d928e0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_DisableDbgByPass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function disables the Bypass mode of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga6e3fa83444e8c0ac5a279b42212fcda1">XCCM_CTL_BPE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gaf8361b47f63677cef55f44c1d48dc7d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_DisableDbgTestPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function disables debug test pattern mode in Control register of the CCM core, if Debug feature is enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> core instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gab7b316e5dfafda8cde003d9a83491a61">XCCM_CTL_TPE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga2a70f04c8f36653e03c1bd686bffa3c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_EnableDbgByPass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function enables the bypass mode by setting bypass bit of the Control register to switch the core to bypass mode if debug feature is enabled in the core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga6e3fa83444e8c0ac5a279b42212fcda1">XCCM_CTL_BPE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga8c3162630daeaf89ddb735ea239b0c95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_EnableDbgTestPattern </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function enables the test-pattern mode if debug feature is enabled by setting test-pattern bit of the Control register of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gab7b316e5dfafda8cde003d9a83491a61">XCCM_CTL_TPE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga8b33698dab5bc2ecd53e018b278c8228"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_GetActiveSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16 *&#160;</td>
          <td class="paramname"><em>HSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16 *&#160;</td>
          <td class="paramname"><em>VSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the number of Active Pixels per Scan line and number of Active Lines per Frame from the Active Frame Size register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance. </td></tr>
    <tr><td class="paramname">HSize</td><td>is a pointer to 16-bit variable in which the number of Active Pixels per Scan Line is returned (Range is 32 to 7680). </td></tr>
    <tr><td class="paramname">VSize</td><td>is a pointer to 16-bit variable in which the number of Active Lines per Frame is returned (Range is 32 to 7680).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga1e220dda1fb0fcac533119f9aecd8868">XCCM_ACTIVE_SIZE_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gab8019031c0ceb2bfb7aad4dd3737f879">XCCM_ACTSIZE_NUM_LINE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#gaae46b01515a3d7322e40e830dd8057e0">XCCM_ACTSIZE_NUM_LINE_SHIFT</a>, <a class="el" href="group__ccm__v6__0.html#gafb50a98b4af92cde951dbcc385a89f6d">XCCM_ACTSIZE_NUM_PIXEL_MASK</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga3e86118b540b675b069095a41aec4cc7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetClamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function returns the clamp value from the Clamp register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Clamp Value is returned.(Range is 0 to 255).</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If Output value smaller than this clamp value it will be replaced by this value. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#gacabc5eb60fd1a4f8abe6187ffa5d8c1f">XCCM_CLAMP_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga04bd18365c71ef3e41cf4cd6059686bb">XCCM_CLAMP_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gae1b1241c01cdd2c15bdb4d02e5c92f8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetClip </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the clip value from Clip register of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Clip value is returned.(Range is 0 to 255).</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If Output value greater than this Clip value it will be replaced by this Clip value. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga25753d1166bbd0f30aee8de4fba22069">XCCM_CLIP_MASK</a>, <a class="el" href="group__ccm__v6__0.html#gad21d764388d9e830321be18381ed6ed5">XCCM_CLIP_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga1c3191c4b436c133e9a313eb5564ab4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_GetCoefMatrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_ccm___coefs.html">XCcm_Coefs</a> *&#160;</td>
          <td class="paramname"><em>CoefValues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the coefficient values of color correction matrix from K11 to K33 registers of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance </td></tr>
    <tr><td class="paramname">CoefValues</td><td>is a pointer to <a class="el" href="struct_x_ccm___coefs.html" title="This typedef contains matrix coefficients of Color Correction Matrix(CCM) core which can be accessed ...">XCcm_Coefs</a> structure which has matrix coefficients is updated with coefficient values. (Range is floating point numbers [-8, 8)).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___coefs.html#aa454fb28198fad16bf41b92a128c03ba">XCcm_Coefs::K11</a>, <a class="el" href="struct_x_ccm___coefs.html#a8fa0996943df60e8ba3b130fb462b2f4">XCcm_Coefs::K12</a>, <a class="el" href="struct_x_ccm___coefs.html#a0cb90dc8c7d0318516490434372020cb">XCcm_Coefs::K13</a>, <a class="el" href="struct_x_ccm___coefs.html#aecad3772401423c365fd2446d207524f">XCcm_Coefs::K21</a>, <a class="el" href="struct_x_ccm___coefs.html#aae204346650cb909d26e57bda0a2a386">XCcm_Coefs::K22</a>, <a class="el" href="struct_x_ccm___coefs.html#ae75cdcae80c0a594a2942e2a650ff7ee">XCcm_Coefs::K23</a>, <a class="el" href="struct_x_ccm___coefs.html#a1859f9ef1212c9639c0b1a1abe6c1863">XCcm_Coefs::K31</a>, <a class="el" href="struct_x_ccm___coefs.html#a6a9c15f11c033187b05470f64708618e">XCcm_Coefs::K32</a>, <a class="el" href="struct_x_ccm___coefs.html#ab6300dd1dc3a45e02fd970912aeec57d">XCcm_Coefs::K33</a>, <a class="el" href="group__ccm__v6__0.html#ga482a4dedd008d36cac6879d10c661d76">XCCM_K11_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga7ec9253bf711065f1cdd42b03231de50">XCCM_K12_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga79eaeed022f1d43f12d4dc736bd05fde">XCCM_K13_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gabfee120b04af618430afcd34ec54804b">XCCM_K21_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaf149c351eb82e046ba468c058a2b97a5">XCCM_K22_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaab13792945fde0c967e9810112dd6625">XCCM_K23_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga8b909510d266f4a09fb39f4e2916628e">XCCM_K31_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga60745869dd11b997d8dc8d4b15b2798d">XCCM_K32_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga9e0d148e2b11d255ac30d017fe296c53">XCCM_K33_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gaac56c13b67436c4c46a283613806335b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetDbgFrameCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets number of frames processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>FrameCount is the number of frames processed since power up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga29e9fc30cc582806959d5c6b154ecb5a">XCCM_SYSDEBUG0_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga0327a7362e192e594dccb105d115e0aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetDbgLineCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the number of lines processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>LineCount is the number of lines processed since power up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga617fbded77b5f23be19bf37325e35be2">XCCM_SYSDEBUG1_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga113f2027e7a6980373b0abb408966fda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetDbgPixelCount </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the number of pixels processed since power-up or last time the core is reset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>PixelCount is the number of pixels processed since power up.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga4dc056cef1da23d319d2c03cdc198af8">XCCM_SYSDEBUG2_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="gad2f6868700e0ac1fbc0bb9927e0772fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_GetRgbOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32 *&#160;</td>
          <td class="paramname"><em>ROffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32 *&#160;</td>
          <td class="paramname"><em>GOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32 *&#160;</td>
          <td class="paramname"><em>BOffset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the offset compensation values of red, blue, green colors from Roffset, Goffset and Boffset registers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance. </td></tr>
    <tr><td class="paramname">ROffset</td><td>is a pointer of signed 32 bit variable in which offset of red color value is returned. (Range of offset is [-256 255]). </td></tr>
    <tr><td class="paramname">GOffset</td><td>is a pointer of signed 32 bit variable in which offset of green color value is returned. (Range of offset is [-256 255]). </td></tr>
    <tr><td class="paramname">BOffset</td><td>is a pointer of signed 32 bit variable in which offset of blue color value is returned. (Range of offset is [-256 255]).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga793008d1002013895246026313aa608b">XCCM_BOFFSET_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga4dbb46de9ae5943743e207141668b3df">XCCM_GOFFSET_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gad9e7b7ca01432c963a73f006a4fa72cf">XCCM_OFFSET_SIGN_SHIFT</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#ga8b6372126e417ea6bcce2d96816ff915">XCCM_ROFFSET_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga83ecf706f9ade5b0e93ae9090575cf50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XCcm_GetVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function gets the Version of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance to be worked on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the contents of the Version register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#gac396781716aa631709f037ca31a42c86">XCCM_VERSION_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="ga03c6cda14c481d1b72742aa036e57339"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>This function is the interrupt handler for the CCM core. </p>
<p>This handler reads the pending interrupt from Status register, determines the source of the interrupts and calls the respective callbacks for the interrupts that are enabled in IRQ_ENABLE register, and finally clears the interrupts.</p>
<p>The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="group__ccm__v6__0.html#gac10d6d33dad41db29c2d16cf7124191d" title="This routine installs an asynchronous callback function for the given HandlerType. ">XCcm_SetCallBack()</a> during initialization phase. .</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Interrupt interface should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm.html#a9dfdd9962b31eeedba403c8a77b345fb">XCcm::ErrCallBack</a>, <a class="el" href="struct_x_ccm.html#ab0140533bf073a584709cd6df324e4ff">XCcm::ErrRef</a>, <a class="el" href="struct_x_ccm.html#a2bef74ca00897cc8839296a532685736">XCcm::FrameDoneCallBack</a>, <a class="el" href="struct_x_ccm.html#ad99986bc0c141a85b620fe993e758827">XCcm::FrameDoneRef</a>, <a class="el" href="struct_x_ccm___config.html#aafb3f1ca488c791dec9317dd22aa8d58">XCcm_Config::HasIntcIf</a>, <a class="el" href="struct_x_ccm.html#a73380f11f8acb9962923e2cad8bf4fbd">XCcm::IsReady</a>, <a class="el" href="struct_x_ccm.html#a88bace29d77ddfdb651db8d9337a214e">XCcm::ProcStartCallBack</a>, <a class="el" href="struct_x_ccm.html#a304079f4b0b160b7b39114264102d906">XCcm::ProcStartRef</a>, <a class="el" href="group__ccm__v6__0.html#ga5dfff1039f9dd0f102d1dfa9707d9c40">XCcm_IntrClear</a>, <a class="el" href="group__ccm__v6__0.html#gae519d4699af5078a9429a9f3924d5b18">XCcm_IntrGetPending</a>, <a class="el" href="group__ccm__v6__0.html#gaf301ed8a9e465dd88c804e08a253e9f8">XCCM_IXR_EOF_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga99f951099b028c60f8366fef2f75cf7b">XCCM_IXR_PROCS_STARTED_MASK</a>, and <a class="el" href="group__ccm__v6__0.html#ga997737dbc605c48a28755120bf7afc1c">XCCM_IXR_SE_MASK</a>.</p>

</div>
</div>
<a class="anchor" id="gab8eb8d5a2fdd146a9bc131b048297542"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCcm_IsDbgByPassEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function returns the current bypass mode settings from Control register of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Core debug bypass mode.<ul>
<li>TRUE = Bypass mode is enabled.</li>
<li>FALSE = Bypass mode is not enabled.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga6e3fa83444e8c0ac5a279b42212fcda1">XCCM_CTL_BPE_MASK</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga69b1f82193d2228f2563d2f7c4cdb6f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCcm_IsDbgTestPatternEnabled </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function returns the test-pattern mode (enabled or not) from Control register of the CCM core, if debug feature was enabled. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Test-pattern generator mode.<ul>
<li>TRUE = Test-pattern mode is enabled.</li>
<li>FALSE = Test-pattern mode is not enabled.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Debug functionality should be enabled. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___config.html#a90ed01ca5c040f8077fdeb6b94a2087b">XCcm_Config::HasDebug</a>, <a class="el" href="group__ccm__v6__0.html#ga64ca584588045e2c39cd9e757a5637bf">XCCM_CONTROL_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gab7b316e5dfafda8cde003d9a83491a61">XCCM_CTL_TPE_MASK</a>, and <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="gad9f993b319bb49dae94c27ebddf70476"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_ccm___config.html">XCcm_Config</a> * XCcm_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>XCcm_LookupConfig returns a reference to an <a class="el" href="struct_x_ccm___config.html" title="This typedef contains configuration information for a CCM core. ">XCcm_Config</a> structure based on the unique device id, <em>DeviceId</em>. </p>
<p>The return value will refer to an entry in the device configuration table defined in the xccm_g.c file.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device for the lookup operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>CfgPtr is a reference to a config record in the configuration table (in xccm_g.c) corresponding to <em>DeviceId</em>, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="gaf70e8e5ef3de9bb3c58fb1c0fd6136fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCcm_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>This function reads Version register of CCM core and compares with zero as part of self test. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the test is successful.</li>
<li>XST_FAILURE if the test is failed.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga6b0c6cad5ad55d36600f805d862cfb0d">XCcm_ReadReg</a>, and <a class="el" href="group__ccm__v6__0.html#gac396781716aa631709f037ca31a42c86">XCCM_VERSION_OFFSET</a>.</p>

</div>
</div>
<a class="anchor" id="gabf2c81724c104e2bd08ff1dd3c3c9970"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_SetActiveSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>HSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>VSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the active H/V sizes in the Active Size register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_ccm.html" title="The XCcm driver instance data structure. ">XCcm</a> instance. </td></tr>
    <tr><td class="paramname">HSize</td><td>specifies the number of Active Pixels per Scan Line that needs to be set (Range is 32 to 7680). </td></tr>
    <tr><td class="paramname">VSize</td><td>specifies the number of Active Lines per Frame that needs to be set (Range is 32 to 7680).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#gaa53a022bb1cb27955f7657b777dd7999">XCCM_ACT_SIZE_FIRST</a>, <a class="el" href="group__ccm__v6__0.html#ga0a91a2e37931c2dabd69a72bc861209d">XCCM_ACT_SIZE_LAST</a>, <a class="el" href="group__ccm__v6__0.html#ga1e220dda1fb0fcac533119f9aecd8868">XCCM_ACTIVE_SIZE_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaae46b01515a3d7322e40e830dd8057e0">XCCM_ACTSIZE_NUM_LINE_SHIFT</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gac10d6d33dad41db29c2d16cf7124191d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XCcm_SetCallBack </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallBackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8h.html">xccm.h</a>&gt;</code></p>

<p>This routine installs an asynchronous callback function for the given HandlerType. </p>
<pre>
HandlerType              Callback Function Type
-----------------------  --------------------------------------------------
XCCM_HANDLER_FRAMEDONE   FrameDoneCallBack
XCCM_HANDLER_PROCSTART   ProcStartCallBack
XCCM_HANDLER_ERROR       ErrCallBack</pre><pre></pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Xccm instance to be worked on. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>specifies which callback is to be attached. </td></tr>
    <tr><td class="paramname">CallBackFunc</td><td>is the address of the callback function. </td></tr>
    <tr><td class="paramname">CallBackRef</td><td>is a user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS when handler is installed.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p>References <a class="el" href="struct_x_ccm.html#a9dfdd9962b31eeedba403c8a77b345fb">XCcm::ErrCallBack</a>, <a class="el" href="struct_x_ccm.html#ab0140533bf073a584709cd6df324e4ff">XCcm::ErrRef</a>, <a class="el" href="struct_x_ccm.html#a2bef74ca00897cc8839296a532685736">XCcm::FrameDoneCallBack</a>, <a class="el" href="struct_x_ccm.html#ad99986bc0c141a85b620fe993e758827">XCcm::FrameDoneRef</a>, <a class="el" href="struct_x_ccm.html#a73380f11f8acb9962923e2cad8bf4fbd">XCcm::IsReady</a>, <a class="el" href="struct_x_ccm.html#a88bace29d77ddfdb651db8d9337a214e">XCcm::ProcStartCallBack</a>, <a class="el" href="struct_x_ccm.html#a304079f4b0b160b7b39114264102d906">XCcm::ProcStartRef</a>, <a class="el" href="group__ccm__v6__0.html#gga06fc87d81c62e9abb8790b6e5713c55bad9c3cae466b8d2ad28aeb203160a98cb">XCCM_HANDLER_ERROR</a>, <a class="el" href="group__ccm__v6__0.html#gga06fc87d81c62e9abb8790b6e5713c55baa25a3e90c8d6c1938222e4cf7f1b42a9">XCCM_HANDLER_FRAMEDONE</a>, and <a class="el" href="group__ccm__v6__0.html#gga06fc87d81c62e9abb8790b6e5713c55bab6935a9446b873400c4c84e5ce152a96">XCCM_HANDLER_PROCSTART</a>.</p>

</div>
</div>
<a class="anchor" id="ga37a55012b238fd48bd4f25f937b85c6d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_SetClamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Clamp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the clamp value in the Clamp register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance </td></tr>
    <tr><td class="paramname">Clamp</td><td>is the minimum output value which needs to be set. (Range of Clamping value is 0 to 255).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If Output value smaller than this Clamp value it will be replaced by this value. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#gaf944e9fe78742398a98d2373696a97cc">XCCM_CLAMP_LAST</a>, <a class="el" href="group__ccm__v6__0.html#gacabc5eb60fd1a4f8abe6187ffa5d8c1f">XCCM_CLAMP_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga04bd18365c71ef3e41cf4cd6059686bb">XCCM_CLAMP_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga536cb130f1afac75c357fdba2738a713"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_SetClip </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Clip</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the clip value in the Clip register of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance. </td></tr>
    <tr><td class="paramname">Clip</td><td>is the maximum output value which needs to be set. (Range of Clip value is 0 to 255).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>If Output value greater than this Clip value it will be replaced by this Clip value. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga804187bf41abef218306a7f845ebada8">XCCM_CLIP_LAST</a>, <a class="el" href="group__ccm__v6__0.html#ga25753d1166bbd0f30aee8de4fba22069">XCCM_CLIP_MASK</a>, <a class="el" href="group__ccm__v6__0.html#gad21d764388d9e830321be18381ed6ed5">XCCM_CLIP_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga1bb87c37f2d3465e53a0043c93015f2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_SetCoefMatrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_ccm___coefs.html">XCcm_Coefs</a> *&#160;</td>
          <td class="paramname"><em>CoefValues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the coefficients of color correction matrix in K11 to K33 registers of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance. </td></tr>
    <tr><td class="paramname">CoefValues</td><td>is a pointer to <a class="el" href="struct_x_ccm___coefs.html" title="This typedef contains matrix coefficients of Color Correction Matrix(CCM) core which can be accessed ...">XCcm_Coefs</a> structure which has matrix coefficients that needs to be set. (Range is floating point numbers [-8, 8)).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm___coefs.html#aa454fb28198fad16bf41b92a128c03ba">XCcm_Coefs::K11</a>, <a class="el" href="struct_x_ccm___coefs.html#a8fa0996943df60e8ba3b130fb462b2f4">XCcm_Coefs::K12</a>, <a class="el" href="struct_x_ccm___coefs.html#a0cb90dc8c7d0318516490434372020cb">XCcm_Coefs::K13</a>, <a class="el" href="struct_x_ccm___coefs.html#aecad3772401423c365fd2446d207524f">XCcm_Coefs::K21</a>, <a class="el" href="struct_x_ccm___coefs.html#aae204346650cb909d26e57bda0a2a386">XCcm_Coefs::K22</a>, <a class="el" href="struct_x_ccm___coefs.html#ae75cdcae80c0a594a2942e2a650ff7ee">XCcm_Coefs::K23</a>, <a class="el" href="struct_x_ccm___coefs.html#a1859f9ef1212c9639c0b1a1abe6c1863">XCcm_Coefs::K31</a>, <a class="el" href="struct_x_ccm___coefs.html#a6a9c15f11c033187b05470f64708618e">XCcm_Coefs::K32</a>, <a class="el" href="struct_x_ccm___coefs.html#ab6300dd1dc3a45e02fd970912aeec57d">XCcm_Coefs::K33</a>, <a class="el" href="group__ccm__v6__0.html#ga1740bbd170767daae443a19ab4c833d7">XCCM_COEF_FIRST</a>, <a class="el" href="group__ccm__v6__0.html#ga6de672c15afb670ced9d6d0a7761a53b">XCCM_COEF_LAST</a>, <a class="el" href="group__ccm__v6__0.html#ga482a4dedd008d36cac6879d10c661d76">XCCM_K11_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga7ec9253bf711065f1cdd42b03231de50">XCCM_K12_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga79eaeed022f1d43f12d4dc736bd05fde">XCCM_K13_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gabfee120b04af618430afcd34ec54804b">XCCM_K21_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaf149c351eb82e046ba468c058a2b97a5">XCCM_K22_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaab13792945fde0c967e9810112dd6625">XCCM_K23_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga8b909510d266f4a09fb39f4e2916628e">XCCM_K31_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga60745869dd11b997d8dc8d4b15b2798d">XCCM_K32_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga9e0d148e2b11d255ac30d017fe296c53">XCCM_K33_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="gac824f9b8427a9255d10412c403f99400"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_SetRgbOffset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32&#160;</td>
          <td class="paramname"><em>ROffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32&#160;</td>
          <td class="paramname"><em>GOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">s32&#160;</td>
          <td class="paramname"><em>BOffset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the offset compensation for red, blue and green colors in corresponding Roffset, Goffset and Boffset registers of the CCM core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the CCM instance. </td></tr>
    <tr><td class="paramname">ROffset</td><td>specifies offset value of red color component which needs to be set. (Range of offset is [-256 255]). </td></tr>
    <tr><td class="paramname">GOffset</td><td>specifies offset value of green color component which needs to be set. (Range of offset is [-256 255]). </td></tr>
    <tr><td class="paramname">BOffset</td><td>specifies offset value of blue color component which needs to be set. (Range of offset is [-256 255]).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="group__ccm__v6__0.html#ga793008d1002013895246026313aa608b">XCCM_BOFFSET_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#ga4dbb46de9ae5943743e207141668b3df">XCCM_GOFFSET_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gaf43e08e4b2d196e8eb1504668b98c519">XCCM_OFFSET_FIRST</a>, <a class="el" href="group__ccm__v6__0.html#gaa22b944144cb2e27613016b4bb39b925">XCCM_OFFSET_LAST</a>, <a class="el" href="group__ccm__v6__0.html#ga8b6372126e417ea6bcce2d96816ff915">XCCM_ROFFSET_OFFSET</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga546464be1a867f0b4b9f53ad66492934"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XCcm_Setup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_ccm.html">XCcm</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xccm_8c.html">xccm.c</a>&gt;</code></p>

<p>This function sets the input/output frame size in Active Size register and enables the register update. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the Xccm instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_ccm___config.html#afcf1eb7f05dd8c0e0a58366e70781beb">XCcm_Config::BaseAddress</a>, <a class="el" href="struct_x_ccm.html#a3b70873a9cfbffb044df02a85d5e12ec">XCcm::Config</a>, <a class="el" href="struct_x_ccm.html#ac59970f0609b2345ef5c89b04234b149">XCcm::HSize</a>, <a class="el" href="struct_x_ccm.html#a560c13ce9b2bbb682152753b0f12b763">XCcm::VSize</a>, <a class="el" href="group__ccm__v6__0.html#ga1e220dda1fb0fcac533119f9aecd8868">XCCM_ACTIVE_SIZE_OFFSET</a>, <a class="el" href="group__ccm__v6__0.html#gab8019031c0ceb2bfb7aad4dd3737f879">XCCM_ACTSIZE_NUM_LINE_MASK</a>, <a class="el" href="group__ccm__v6__0.html#gaae46b01515a3d7322e40e830dd8057e0">XCCM_ACTSIZE_NUM_LINE_SHIFT</a>, <a class="el" href="group__ccm__v6__0.html#gafb50a98b4af92cde951dbcc385a89f6d">XCCM_ACTSIZE_NUM_PIXEL_MASK</a>, <a class="el" href="group__ccm__v6__0.html#ga69cd1858570d3746f65e766ad9757ad2">XCcm_RegUpdateDisable</a>, <a class="el" href="group__ccm__v6__0.html#gaad5c437a6299fd7c287459f9d067671b">XCcm_RegUpdateEnable</a>, and <a class="el" href="group__ccm__v6__0.html#ga6891f64d4cf42385c911cef4ff8d8a76">XCcm_WriteReg</a>.</p>

</div>
</div>
</div><!-- contents -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
